package bsts.view.util;
import java.awt.event.ActionListener;
/*
 * Author 		: Lee Zhong De Rollei
 * Student ID	: A0079953L
 */
public class GridColumn {
	
	private String colDisplayName;
	private String colObjName;
	private int colWidth;
	private ActionListener action;
	private String actionCmd;
	
	public GridColumn(String colDisplayName, String colObjName, int colWidth,
			ActionListener action, String actionCmd) {
		super();
		this.colDisplayName = colDisplayName;
		this.colObjName = colObjName;
		this.colWidth = colWidth;
		this.action = action;
		this.actionCmd = actionCmd;
	}

	public GridColumn(String colDisplayName, String colObjName, int colWidth) {
		super();
		this.colDisplayName = colDisplayName;
		this.colObjName = colObjName;
		this.colWidth = colWidth;
	}

	public String getColDisplayName() {
		return colDisplayName;
	}

	public void setColDisplayName(String colDisplayName) {
		this.colDisplayName = colDisplayName;
	}

	public String getColObjName() {
		return colObjName;
	}

	public void setColObjName(String colObjName) {
		this.colObjName = colObjName;
	}

	public int getColWidth() {
		return colWidth;
	}

	public void setColWidth(int colWidth) {
		this.colWidth = colWidth;
	}

	public ActionListener getAction() {
		return action;
	}

	public void setAction(ActionListener action) {
		this.action = action;
	}

	public String getActionCmd() {
		return actionCmd;
	}

	public void setActionCmd(String actionCmd) {
		this.actionCmd = actionCmd;
	}
	
	
	
	
	
	
}
